// samsting : this file is auto create.

#include "Cms/2015-08-01/ListMetricsResponse.h"

namespace aliyun { namespace Cms {

ListMetricsResponse::ListMetricsResponse() {
}

const std::vector<Datapoint>& ListMetricsResponse::GetDatapoints(void) const {
  return Datapoints_;
}

const string& ListMetricsResponse::GetCode(void) const {
  return Code_;
}

const string& ListMetricsResponse::GetMessage(void) const {
  return Message_;
}

const string& ListMetricsResponse::GetSuccess(void) const {
  return Success_;
}

const string& ListMetricsResponse::GetTraceId(void) const {
  return TraceId_;
}

const char* ListMetricsResponse::BaseKey(void) {
  return "ListMetricsResponse";
}

void ListMetricsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
    int Datapoints__length = 0;
    UnmarshallerInt(Datapoints__length, response_map, "ListMetricsResponse.Datapoints.Length");
    if(Datapoints__length >= 0) {
      Datapoints_.resize(Datapoints__length);
      for(int i1 = 0; i1 < Datapoints__length; i1++) {
      UnmarshallerString(Datapoints_[i1], response_map, "ListMetricsResponse.Datapoints["+string_ValueOfInt(i1)+"]");
      } // for(int i1 = 0; i1 < Datapoints__length; i1++) {
    } // if(Datapoints__length >= 0) {

  UnmarshallerString(Code_, response_map, "ListMetricsResponse.Code");
  UnmarshallerString(Message_, response_map, "ListMetricsResponse.Message");
  UnmarshallerString(Success_, response_map, "ListMetricsResponse.Success");
  UnmarshallerString(TraceId_, response_map, "ListMetricsResponse.TraceId");
}


} } // namespace aliyun { namespace Cms {

// end of file 
